[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
.) \definelistalternative[startendfmpages][renderingsetup=list:startendfmpages] \startsetups[list:startendfmpages] \structurelistuservariable{itemAuthor}\crlf \structurelistuservariable{itemTitle}\hfill% \at[\currentlistentrypagenumber]–\at[\lastpagenumber] \vglue1pc \stopsetups where I

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
, before={\blank[2.2ex, fixed]}, inbetween=\endgraf, ] \define\ToCEntry{% \structurelistuservariable{author}\crlf \structurelistuservariable{title}\hfill% \at[\structurelistuservariable{reference}]–% \at[\structurelistuservariable{authorInitials}endPage] } \definelistalternative[startendpages

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
welcome. My MWE: \setuppapersize[S6] \startuseMPgraphic{itemize:toc} save p; path p; p := ( (0,-0.5)--(0,0.5)--(0.866,0)--cycle ) scaled 1.5ExHeight; fill p withcolor \MPcolor{Black}; \stopuseMPgraphic \definesymbol[itemize:toc][\useMPgraphic{itemize:toc}] \definelistalternative [toclist

Re: [NTG-context] Calling in chapter number in list={}

2022-03-17 Thread Henning Hraban Ramm via ntg-context
]\MeinEintrag{#3: #2 (#1)} % Seite: Titel (Nummer) \setuplist[alternative=interactive,command=\MeinEintrag] or define your own alternative: \definelistalternative[j][renderingsetup=list:jbf] \startsetups[list:jbf] ... \currentlist... \stopsetups HTH Hraban Am 16.03.22 um 22:03 schrieb jbf via

Re: [NTG-context] Custom Table of Contents

2022-01-20 Thread Hans Hagen via ntg-context
Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----\definelistalternative [whatever] [renderingsetup=whatever] \setuplis

Re: [NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Hans Hagen
the dimensions you can do this: \usemodule[article-basic] \definelistalternative [whatever] [renderingsetup=whatever] \setuplist [chapter] [alternative=whatever] \startsetups whatever \framed [offset=overlay,frame=off] { \framed [width=25mm,align=flushleft,frame=off,offset=0pt

Re: [NTG-context] horizontal list of sections/topics?

2016-02-14 Thread Marco Patzer
time, I'd like the > list to be horizontal, at the bottom of the slide. Is there > already a listalternative for this? I did something similar for a few presentations and wrote a small module: https://github.com/mpfusion/context-slide > Or is it not too complex to have a \definel

[NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Thomas A. Schmitz
. Is there already a listalternative for this? Or is it not too complex to have a \definelistalternative do this? Or would it be easier not to rely on the list mechanism but code something from scratch? Thanks for your advice and all best Thomas

Re: [NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Alan BRASLAU
d. There are already two styles in > simpleslides doing this, but this time, I'd like the list to be > horizontal, at the bottom of the slide. Is there already a > listalternative for this? Or is it not too complex to have a > \definelistalternative do this? Or would it be easier not to rely on &

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
][option:overviewpage=\v!yes]} \appendtoks \processcommacommand [\moduleparameter{overviewpage}\c!level] \overviewpage_setup_head \to \everysetupmodule \the\everysetupmodule \setuppaper [\c!method=overviewpage] \definelistalternative [overviewpage] [\c!renderingsetup

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster
for your reply, Wolfgang. I have no idea about how to do it. What should I start reading? Search for \definelistalternative or \setuplist in combination with alternative=command. Wolfgang ___ If your question

Re: [NTG-context] \setuplist[alternative=inmargin?

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 08:26 PM, Wolfgang Schuster wrote: Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez: On 02/19/2014 07:48 PM, Wolfgang Schuster wrote: [...] Write your own list layout. I have no idea about how to do it. What should I start reading? Search for \definelistalternative

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
, there is no current chapter and so the head location for the chapter entry returns 0. Here is what I have so far: \startsetups [list:TOC] \starttabulate \currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR \stoptabulate \stopsetups \definelistalternative

[NTG-context] Rearrange Table of Contents section page numbers

2014-01-31 Thread Thangalin
. Here is what I have so far: \startsetups [list:TOC] \starttabulate \currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR \stoptabulate \stopsetups \definelistalternative [TOC] [renderingsetup=list:TOC] % Format the ToC style

Re: [NTG-context] Get rid of LuaTeX warning on duplicate destination identifier

2013-08-29 Thread Hans Hagen
\page_shipouts_normal{\box\nextbox}% \fi} \installshipoutmethod{overview}\overview_save_page \definelistalternative [overview] [\c!renderingsetup=\??listrenderings:overview] \setuplistalternative [overview] [\c!before=\dontleavehmode, \c!after=\space, \c!width=.4\textwidth

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Wolfgang Schuster
for section entries. \setuplist[chapter][alternative=mychapter] \definelistalternative[mychapter][renderingsetup=list:mychapter] \startsetups[list:mychapter] \par \setbox\scratchboxone\hbox{\currentlistentrynumber \quad \currentlistentrytitle \quad \currentlistentrypagenumber} \setbox

Re: [NTG-context] Highlight current chapter in list

2012-11-09 Thread Sietse Brouwer
/definelistalternative. I have taken the lazy liberty of redirecting Command/currentlistentrylocation Command/structureheadlocation Command/currentlistentrynumber etc to that page for the now, so that they at least appear in the list of commands. --Sietse \starttext \startsection [title=alpha

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Wolfgang Schuster
[headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] \startsetups [list:highlight] \par \startlinealignment[middle] \doifelse{\fetchmark[chapter][first

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] I like the flexibility

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 11:06 AM, Marco Patzer wrote: 2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 12:06 PM, Hans Hagen wrote: On 11/8/2012 11:06 AM, Marco Patzer wrote: 2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Marco Patzer: Best document this before we forget about it. I assume that's my part, right? I'll extend or add a wiki page the weekend after the beta is released. http://wiki.contextgarden.net/Command/definelistalternative Marco

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 6:32 PM, Marco Patzer wrote: 2012-11-08 Marco Patzer: Best document this before we forget about it. I assume that's my part, right? I'll extend or add a wiki page the weekend after the beta is released. http://wiki.contextgarden.net/Command/definelistalternative fyi: more

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] Why

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Wolfgang Schuster
\definelistalternative [highlight] [renderingsetup=list:highlight] Why does the custom list alternative succeed in a header but fails in a layer? A predefined alternative works perfectly in a layer. Header and footers are added and calculated after the page is finished but when you put a text in a layer

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] Why does the custom list alternative succeed in a header but fails in a layer? A predefined alternative works perfectly in a layer. Header and footers are added and calculated after the page

Re: [NTG-context] alternative command for lists

2012-08-03 Thread Hans Hagen
{\the\t_lists_every_renderingtext} \def\listrenderingsynchronize{\the\t_lists_every_renderingsynchronize} \protect % now you can say: \definelistalternative [willi:1] [renderingsetup=willi:1] \startsetups[willi:1] \listparameter{before} \vbox \listboxproperties{all} { \forgetall